"use strict";

/**
 * @constant ADD_SAMPLE
 * @type {string}
 * @default "ADD_SAMPLE"
 */
export const ADD_SAMPLE = "ADD_SAMPLE";

/**
 * Add a sample.
 *
 * @function addSample
 * @param {string} text
 */
export function addSample(text) {
    return {
        type: ADD_SAMPLE,
        text
    };
}
